projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
659e559
)
spl_mmc: Make FAT checks / calls guarded with CONFIG_SPL_FAT_SUPPORT
author
Tom Rini
<
[email protected]
>
Fri, 10 Aug 2012 16:27:14 +0000
(09:27 -0700)
committer
Tom Rini
<
[email protected]
>
Thu, 27 Sep 2012 16:48:37 +0000
(09:48 -0700)
Signed-off-by: Tom Rini <
[email protected]
>
arch/arm/cpu/armv7/omap-common/spl_mmc.c
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/armv7/omap-common/spl_mmc.c
b/arch/arm/cpu/armv7/omap-common/spl_mmc.c
index 2f921bb07d4d4ea8a6914d8bfc477405fb2c4b6a..7552f6c3604c8c7145cd99f3310868fc9ae19d2e 100644
(file)
--- a/
arch/arm/cpu/armv7/omap-common/spl_mmc.c
+++ b/
arch/arm/cpu/armv7/omap-common/spl_mmc.c
@@
-84,6
+84,7
@@
end:
}
}
+#ifdef CONFIG_SPL_FAT_SUPPORT
static void mmc_load_image_fat(struct mmc *mmc)
{
s32 err;
@@
-116,6
+117,7
@@
end:
hang();
}
}
+#endif
void spl_mmc_load_image(void)
{
@@
-140,9
+142,11
@@
void spl_mmc_load_image(void)
if (boot_mode == MMCSD_MODE_RAW) {
debug("boot mode - RAW\n");
mmc_load_image_raw(mmc);
+#ifdef CONFIG_SPL_FAT_SUPPORT
} else if (boot_mode == MMCSD_MODE_FAT) {
debug("boot mode - FAT\n");
mmc_load_image_fat(mmc);
+#endif
} else {
puts("spl: wrong MMC boot mode\n");
hang();